package com.yc.bran.snack.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yc.bran.snack.bean.AdminInfo;
import com.yc.bran.snack.mapper.IAdminInfoMapper;
import com.yc.bran.snack.service.IAdminInfoService;
import com.yc.bran.snack.util.StringUtil;

@Service
public class AdminInfoServiceImpl implements IAdminInfoService {
	@Autowired
	private IAdminInfoMapper adminInfoMapper;

	@Override
	public AdminInfo login(AdminInfo af) {
		if(StringUtil.checkNull(af.getAname(), af.getApwd())) {
			
		}
		return adminInfoMapper.login(af);
	}

}
